<template>
  <div>
    {{msg}}
    <div @click="toFather">ss点击</div>
  </div>

</template>
<script lang="ts">
import { Component, Prop, Vue, Emit } from "vue-property-decorator";
@Component
export default class HelloWorld extends Vue {
  @Prop({
    default: "123123",
  })
  msg!: String;
  @Emit('bindSend') send(msg: string){};
  // methods
  toFather(){
    this.send('HelloWord 来消息');;
  }
}
</script>
<style>
.NuxtLogo {
  animation: 1s appear;
  margin: auto;
}

@keyframes appear {
  0% {
    opacity: 0;
  }
}
</style>
